<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>
<#import "/freemarker/datetime.ftl" as dt>
<div class="wrapper-md ng-scope" style="width:60%;float:left;">
	<div class="panel panel-default">
		<div>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>名称 </th>
						<th>账号 </th>
						<th style="width:60px;">操作 </th>
					</tr>
				</thead>
				<tbody id="aTbody">
					<#list pageBean.resultList as user>
					<tr style="display: table-row;">
						<td>${(user.realName)!''}</td>
						<td>${(user.email!'')}</td>
						<td>
							<button class="btn btn-xs btn-success" onclick="javascript:choiseUser_classes($(this),'${user.code}','${user.realName}'); return false;" title="编辑">
								<i class="icon-check"></i>
							</button>
						</td>
					</tr>
					</#list>
				</tbody>
			</table>
			<#import "/freemarker/pagination.ftl" as p>
			<@p.pagination pageBean 'aidqueryUserClass_classes' />
		</div>
	</div>
</div>

<div class="wrapper-md ng-scope" style="width:30%;float:left;">
	<div class="panel panel-default">
		<div>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>名称 </th>
						<th style="width:60px;">操作 </th>
					</tr>
				</thead>
				<tbody id="addTbody3">
					<#if list??>
						<#list list as u>
							<tr class="footable-even tr2" style="display: table-row;">
								<td>${(u.realName)!''}</td>
								<td>
									<input type="hidden" class="stuName" value="${(u.realName)!''}"/>
									<input type="hidden" class="stuCode" value="${(u.code)!''}"/>
									<button class="btn btn-xs btn-danger" onclick="javascript:deleteChoiseUser_classes($(this)); return false;" title="删除">
									<i class="icon-remove"></i>
								</td>
							</tr>
						</#list>
					</#if>
				</tbody>
			</table>
		</div>
	</div>
</div>

<table id="stTable" style="display: none;">
	<tr class="footable-even tr2" style="display: table-row;">
		<td></td>
		<td>
			<input type="hidden" class="stuName" />
			<input type="hidden" class="stuCode"/>
			<button class="btn btn-xs btn-danger" onclick="javascript:deleteChoiseCourse_classes($(this)); return false;" title="删除">
			<i class="icon-remove"></i>
		</td>
	</tr>
</table>

<div id="stAddDiv" style="display: none;">
	<div class="my-filter-table rep">
		<input class="ucName" type="hidden" style="width:60px;">
		<span class="yy"></span>
		<input class="ucCode" type="hidden"/>
		<a href="javascript:;" onclick="javascrit:deleteChoiseClass_classes($(this));return false;"></a>
		<button type="button" class="del-tag" data-dismiss="alert">&times;</button>
	</div>
</div>
